#pragma once
#include <graphics.h>
#include "Resource.h"

class Tile {
private:
    int value;
    bool merged;

public:
    Tile();

    int getValue() const;
    void setValue(int val);
    bool isEmpty() const;
    bool isMerged() const;
    void setMerged(bool m);

    void draw(int x, int y) const;

    static COLORREF getTileColor(int value);
    static COLORREF getTextColor(int value);
};
